<?php 

require_once ('CoreTagWithLang.php');

class Column extends CoreTag {

    protected $align;
    protected $char;
    protected $charoff;
    protected $span;
    protected $valign;
    protected $width;

    function  __construct() {
        parent::__construct("col");
        $this->align="";
        $this->char="";
        $this->charoff="";
        $this->span="";
        $this->valign="";
        $this->width="";
        $this->attributeNames=array_merge($this->attributeNames,array('align','char','charoff','span','valign','width'));
        $this->attributeValues=array_merge($this->attributeValues,array('','','','','','',''));
    }

    public function setAlign($_align)
    {
        $this->align=(string)$_align;
        $this->setAttributeValue('align',$_align);
    }

    public function getAlign()
    {
        return $this->align;
    }

    public function setChar($_char)
    {
        $this->char=(string)$_char;
        $this->setAttributeValue('char',$_char);
    }

    public function getChar()
    {
        return $this->char;
    }

    public function setCharoff($_charoff)
    {
        $this->charoff=$_charoff;
        $this->setAttributeValue('charoff', $_charoff);
    }

    public function getCharOff()
    {
        return $this->charoff;
    }

    public function setSpan($_span)
    {
        $this->span=(string)$_span;
        $this->setAttributeValue('span',$_span);
    }

    public function getSpan()
    {
        return $this->span;
    }

    public function setValign($_valign)
    {
        $this->valign=(string)$_valign;
        $this->setAttributeValue('valign',$_valign);
    }

    public function getValign()
    {
        return $this->valign;
    }

    public function setWidth($_width)
    {
        $this->width=(string)$_width;
        $this->setAttributeValue('width',$_width);
    }

    public function getWidth()
    {
        return $this->width;
    }

}
?>
